home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / progut~1 / stdwin.zoo / vt / vtserial.h < prev    next >
Encoding:
Text File  |  1989-10-17  |  508 b   |  16 lines

  1. /* Definitions for serial interface */
  2.  
  3. /* Public interface to the serial line drivers (which have a
  4.    machine-dependent implementation but a common interface) */
  5.  
  6. bool openserial NOARGS;
  7. bool closeserial NOARGS;
  8. bool sendserial ARGS((char *buf, int len)); /* Blocking write */
  9. int receiveserial ARGS((char *buf, int len)); /* Non-blocking read */
  10. bool breakserial NOARGS;
  11. bool speedserial ARGS((int baudrate));
  12.  
  13. /* Pseudo event reported when input from serial line available */
  14.  
  15. #define WE_SERIAL_AVAIL 42
  16.